<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>显示投诉列表</title>
<link href="../css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery-latest.js"></script>
<script type="text/javascript" src="../js/jquery.tablesorter.js"></script>
<script language="javascript" src="../js/reply.js"
	type="text/javascript"></script>
<script type="text/javascript" id="js">$(document).ready(function() {
	// call the tablesorter plugin
	$("table").tablesorter({
		// sort on the first column and third column, order asc
		sortList: [[0,0],[2,0]]
	});
}); </script>
</head>
<body>
#parse("adminTop.html")


<h2>投诉列表</h2>

<table cellspacing="1" class="tablesorter" border="1"
	bordercolor="#FFFFFF">

	<thead>
		<tr>
			<th>投诉类型</th>
			<th>投诉内容</th>
			<th>投诉者</th>
			<th>投诉时间</th>
			<th>处理状态</th>
			<th>操作</th>
			<th>备注</th>


		</tr>
	</thead>
	<tbody>

		#foreach($complaint in $complaintList)
		<tr>
			<td>$!{complaint.type}</td>
			<td>$!{complaint.content}</td>
			<td>$!{complaint.nickName}</td>
			<td>$dateTool.format("SHORT",$!{complaint.createTime})</td>
			<td>#if($!{complaint.state}=="0")未处理#else已处理#end</td>
			<td><a href="deleteComplaint.html?complaintId=$!{complaint.id}">删除</a>/
			<a href="dealComplaint.html?complaintId=$!{complaint.id}">处理</a></td>
			<td>$!{complaint.note}<input type="button"
				onClick="showsubmenu('$!{complaint.id}')" value="编辑" />


			<div id="DivDisplay$!{complaint.id}" style="display: none">
			<form method="POST"
				action="complaintList.html?complaintId=$!{complaint.id}"><textarea
				rows="4" cols="30" name="note" />$!{complaint.note}</textarea> <br />
			<input type="submit" name="submit" value="提交" /></form>
			</div>
			</td>
		</tr>
		#end

	</tbody>
</table>


</body>
</html>

